package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.ShippingOrder;
import cn.itcast.domain.cargo.ShippingOrderExample;
import com.github.pagehelper.PageInfo;

public interface ShippingOrderService {

    //分页查询所有委托单
    PageInfo findAll(ShippingOrderExample shippingOrderExample, int pageNum, int pageSize);

    //通过id查询委托单
    ShippingOrder findById(String id);

    //添加委托单
    void save(ShippingOrder shippingOrder);

    //编辑委托单
    void update(ShippingOrder shippingOrder);

    //删除委托单
    void delete(String id);
}
